<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:url value="/" var="baseUrl" />
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/favicon.png">
<title>黑白名单</title>
<%@include file="../include/css.jsp"%>
</head>

<body>
	<!-- container section start -->
	<section id="container" class="">
		<%@include file="../include/header.jsp"%>
		<%@include file="../include/sidebar.jsp"%>

		<!--main content start-->
		<section id="main-content">
			<section class="wrapper">
				<!--overview start-->

				<!--主显示区域--开始-->
				<form action="${baseUrl}front/AddBWList" method="post">
					<table align="center">
						<caption>添加用户</caption>
						<tr>
							<td colspan="3" align="center">${error.error}</td>
						</tr>
						<tr>
							<th>地市:</th>
							<td>
							<c:if test="${curUser.id == 0}">
							    <select name="city">
									<option value='省公司'>省公司</option>
									<option value='济南'>济南</option>
									<option value='聊城'>聊城</option>
									<option value='德州'>德州</option>
									<option value='东营'>东营</option>
									<option value='淄博'>淄博</option>
									<option value='潍坊'>潍坊</option>
									<option value='烟台'>烟台</option>
									<option value='威海'>威海</option>
									<option value='青岛'>青岛</option>
									<option value='日照'>日照</option>
									<option value='临沂'>临沂</option>
									<option value='枣庄'>枣庄</option>
									<option value='济宁'>济宁</option>
									<option value='泰安'>泰安</option>
									<option value='莱芜'>莱芜</option>
									<option value='滨州'>滨州</option>
									<option value='菏泽'>菏泽</option>
							    </select>
							</c:if>
                            <c:if test="${curUser.id > 0}">
                                <select name="city">
                                    <option value="${curUser.city}">${curUser.city}</option>
                                </select>
                            </c:if>
							</td>
							<td>${error.city}</td>
						</tr>
						<tr>
							<th>账号:</th>
							<td><input type="text" name="account"
								value='${input.account}' /></td>
							<td>${error.account}</td>
						</tr>
						<tr>
							<th>状态:</th>
							<td><select name="status">
									<option value='黑名单'>黑名单</option>
									<option value='白名单'>白名单</option>
							</select></td>
							<td>${error.status}</td>
						</tr>
						<tr>
							<td colspan="3" align="center"><input type="submit"
								value="确定" /></td>
						</tr>
					</table>
				</form>
				<!--主显示区域--结束-->
			</section>
		</section>
		<!--main content end-->
	</section>
	<%@include file="../include/scripts.jsp"%>
</body>
</html>
